PYTHON=`which python`
DESTDIR=/
BUILDDIR=$(CURDIR)/debian/mfuser
PROJECT=mfuser
VERSION=0.0

all:
	@echo "make install - Install on local system"
	@echo "make builddeb - Generate a deb package"
	@echo "make clean - Get rid of scratch files"

install:
	$(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)

builddeb:
	mkdir -p $(BUILDDIR)
	DESTDIR=$(BUILDDIR) dpkg-buildpackage -rfakeroot

clean:
	$(PYTHON) setup.py clean
	$(MAKE) -f $(CURDIR)/debian/rules clean
	rm -rf build/ MANIFEST
	find . -name '*.pyc' -delete
